/**
 * 
 */
package org.gaming.common.apidoc.model;

import org.gaming.db.annotation.Column;
import org.gaming.db.annotation.Id;
import org.gaming.db.annotation.Id.Strategy;
import org.gaming.db.annotation.MappedSuperclass;
import org.gaming.db.annotation.MappedSuperclass.Priority;
import org.gaming.db.orm.AbstractEntity;

/**
 * @author YY
 *
 */
@MappedSuperclass(sort = Priority._2)
public abstract class AbstractApiDoc extends AbstractEntity {
	@Id(strategy = Strategy.AUTO)
	@Column(comment = "唯一ID")
	private long id;
	@Column(name = "class_method", comment = "类与函数信息")
	private String classMethod;
	@Column(name = "href_url", comment = "链接地址")
	private String hrefUrl;
	@Column(comment = "接口说明")
	private String comment;
	@Column(comment = "请求参数格式", length = 2000)
	private String request;
	@Column(comment = "响应结果格式", length = 2000)
	private String response;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getHrefUrl() {
		return hrefUrl;
	}
	public void setHrefUrl(String hrefUrl) {
		this.hrefUrl = hrefUrl;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getRequest() {
		return request;
	}
	public void setRequest(String request) {
		this.request = request;
	}
	public String getResponse() {
		return response;
	}
	public void setResponse(String response) {
		this.response = response;
	}
	public String getClassMethod() {
		return classMethod;
	}
	public void setClassMethod(String classMethod) {
		this.classMethod = classMethod;
	}
}
